home *** CD-ROM | disk | FTP | other *** search
- package netscape.softupdate;
-
- import java.awt.Button;
- import java.awt.Component;
- import java.awt.Container;
- import java.awt.Event;
- import java.awt.Font;
- import java.awt.Frame;
- import java.awt.Label;
- import java.awt.LayoutManager;
-
- public class SymProgressWindow extends Frame {
- Label status;
- Label progress;
- Button install;
- Button cancel;
- Button info;
-
- void info_Clicked(Event var1) {
- }
-
- void cancel_Clicked(Event var1) {
- }
-
- void install_Clicked(Event var1) {
- }
-
- public SymProgressWindow() {
- ((Container)this).setLayout((LayoutManager)null);
- ((Frame)this).setResizable(false);
- ((Frame)this).addNotify();
- ((Component)this).resize(((Container)this).insets().left + ((Container)this).insets().right + 497, ((Container)this).insets().top + ((Container)this).insets().bottom + 144);
- ((Component)this).setFont(new Font("Dialog", 1, 12));
- this.status = new Label("xxxxxxxxxxxxx");
- this.status.reshape(((Container)this).insets().left + 12, ((Container)this).insets().top + 12, 472, 36);
- this.status.setFont(new Font("Dialog", 1, 12));
- ((Container)this).add(this.status);
- this.progress = new Label("xxxxxxxxxxx");
- this.progress.reshape(((Container)this).insets().left + 12, ((Container)this).insets().top + 48, 472, 40);
- this.progress.setFont(new Font("Courier", 0, 14));
- ((Container)this).add(this.progress);
- this.install = new Button("xxxxxIxxx");
- this.install.reshape(((Container)this).insets().left + 12, ((Container)this).insets().top + 96, 108, 32);
- ((Container)this).add(this.install);
- this.cancel = new Button("xxxxxCxxx");
- this.cancel.reshape(((Container)this).insets().left + 132, ((Container)this).insets().top + 96, 108, 32);
- ((Container)this).add(this.cancel);
- this.info = new Button("xxxxxMxxxxx");
- this.info.reshape(((Container)this).insets().left + 376, ((Container)this).insets().top + 96, 108, 32);
- ((Container)this).add(this.info);
- ((Frame)this).setTitle("Untitled");
- }
-
- public boolean handleEvent(Event var1) {
- if (var1.target == this.install && var1.id == 1001) {
- this.install_Clicked(var1);
- return true;
- } else if (var1.target == this.cancel && var1.id == 1001) {
- this.cancel_Clicked(var1);
- return true;
- } else if (var1.target == this.info && var1.id == 1001) {
- this.info_Clicked(var1);
- return true;
- } else {
- return super.handleEvent(var1);
- }
- }
- }
-